public class Code {
    int a = 10;
    Integer i = a;
    int b = 10;
    Integer j = b;
    int x = i.intValue()
    public static void main1(String[] args) {
        int a = 10;
        //自动装箱
        Integer i = a;
        //手动装箱
        Integer i2 = Integer.valueOf(a);
        int b = 10;
        Integer j = b;
        Integer j2 = Integer.valueOf(b);
        System.out.println(i == j);
        System.out.println(i2 == j2);
        int c = 128;
        Integer i1 = c;
        Integer i3 = Integer.valueOf(c);
        int d = 128;
        Integer j1 = d;
        Integer j3 = Integer.valueOf(d);
        System.out.println(i3 == j3);
        System.out.println(i1 == j1);
    }
}
